package com.zmm.zebulon.module.system.biz.api.logger;

import com.zmm.zebulon.module.system.api.logger.LoginLogApi;
import com.zmm.zebulon.module.system.api.logger.dto.LoginLogCreateReqDTO;
import com.zmm.zebulon.module.system.biz.service.logger.LoginLogService;
import org.springframework.stereotype.Service;
import org.springframework.validation.annotation.Validated;

import javax.annotation.Resource;

/**
 * description: 登录日志的 API 实现类
 *
 * @author zebulon
 * package com.zmm.zebulon.module.system.biz.api.logger
 * name: LoginLogApiImpl
 * date 2024/1/7 22:06
 */
@Service
@Validated
public class LoginLogApiImpl implements LoginLogApi {

    @Resource
    private LoginLogService loginLogService;

    @Override
    public void createLoginLog(LoginLogCreateReqDTO reqDTO) {
        loginLogService.createLoginLog(reqDTO);
    }

}
